#!/bin/sh
#
# $Id: test.sh,v 1.2 2009/09/30 00:33:19 rdilley Exp $
# By: Ron Dilley
#
# this script privides a consistent testing and benchmarking process
#
####

# run tests against a small number of unknown hashes
rm baracuda.pot
time ./ngale -l 5 -t 1 small_ntlm_hashes.txt > smalltest1.txt 2>&1
mv baracuda.pot smalltest1.pot
time ./ngale -l 5 -t 2 small_ntlm_hashes.txt > smalltest2.txt 2>&1
mv baracuda.pot smalltest2.pot
time ./ngale -l 5 -t 4 small_ntlm_hashes.txt > smalltest4.txt 2>&1
mv baracuda.pot smalltest4.pot
time ./ngale -l 5 -t 8 small_ntlm_hashes.txt > smalltest8.txt 2>&1
mv baracuda.pot smalltest8.pot
time ./ngale -l 5 -t 16 small_ntlm_hashes.txt > smalltest16.txt 2>&1
mv baracuda.pot smalltest16.pot

# run tests against a moderate number of unknown hashes
rm baracuda.pot
time ./ngale -l 5 -t 1 medium_ntlm_hashes.txt > medtest1.txt 2>&1
mv baracuda.pot medtest1.pot
time ./ngale -l 5 -t 2 medium_ntlm_hashes.txt > medtest2.txt 2>&1
mv baracuda.pot medtest2.pot
time ./ngale -l 5 -t 4 medium_ntlm_hashes.txt > medtest4.txt 2>&1
mv baracuda.pot medtest4.pot
time ./ngale -l 5 -t 8 medium_ntlm_hashes.txt > medtest8.txt 2>&1
mv baracuda.pot medtest8.pot
time ./ngale -l 5 -t 16 medium_ntlm_hashes.txt > medtest16.txt 2>&1
mv baracuda.pot medtest16.pot

# run tests against a large number of unknown hashes
rm baracuda.pot
time ./ngale -l 5 -t 1 ntlm_hashes.txt > test1.txt 2>&1
mv baracuda.pot test1.pot
time ./ngale -l 5 -t 2 ntlm_hashes.txt > test2.txt 2>&1
mv baracuda.pot test2.pot
time ./ngale -l 5 -t 4 ntlm_hashes.txt > test4.txt 2>&1
mv baracuda.pot test4.pot
time ./ngale -l 5 -t 8 ntlm_hashes.txt > test8.txt 2>&1
mv baracuda.pot test8.pot
time ./ngale -l 5 -t 16 ntlm_hashes.txt > test16.txt 2>&1
mv baracuda.pot test16.pot

exit
